package cn.wolfcode.luowowo.website.web.util.alipay;

import lombok.Getter;
import lombok.Setter;

/**
 * Created  on 2019-9-09
 */
@Setter
@Getter
public class AlipayConfig {

    // 应用ID,您的APPID，收款账号既是您的APPID对应支付宝账号,开发时使用沙箱提供的APPID，生产环境改成自己的APPID
    public static String APP_ID = "2016101500691418"; //测试

    // 商户私钥，您的PKCS8格式RSA2私钥
   public static String APP_PRIVATE_KEY="MIIEwAIBADANBgkqhkiG9w0BAQEFAASCBKowggSmAgEAAoIBAQCm3Qie/WdId9AyvMWSl9iT72mAa2vwimVzoJ4Kdw9mmd19gxzVcIm21k9BdpWI9/UCHX0zyLp/8m1jIrqgUQhz6eHTfHYnkLLz1Q97CtkNuSXe74tEuYQnaw3gLWwOfP7ZMMN+ou9cd1rCanPuW3ZfbIwQnTrowI1OBDoXjTO3xJJsTicBSKzxhVPzYMmJrEjmN6G0G/zibzxPhdaSH/D/n0WBlas4+8g1NdpPjG62BpntPrHcKOb99hV5gW505ZKA4ABINitPW3WV/Fi9sOvQ5CotgbTdjOiNtdiTwB04FFQ2F1dM6geF0AoNFzXFGhFKTTVBrt19QtfS1HEIdO9lAgMBAAECggEBAICX0u8EBraYb0DKrdA9aVEIrlujbXngjjK/00vpWVsOtNznUC9FHTxkiIvAoZj+zjilFTn1NZUo9RfzSbQG/uallb1wK3ZuUxsKVXXTdFbZGtBl9wQtnCTsobLkDmRT++rRY7eSRbkS2kT92P4WSnFbq82Z/i4lRkCbjVFdJkA14fCB/WFq6H1yOzj0bHfN1nS0YRhuT3BomNiJxsHXUeJ6FOoSBTHaQ9rdV3Trccl3WdiXLduSGye4TYRXs/SwEyeqquO59z/vHHW2iaxS/jTLyTIHkE+/jUOetXpKSKJp7gD7Onx/P4spINgMT0mvTVZd/ImOETD9Fv9nLmqHJrkCgYEA6+NstuPni23CYKsOfQLixG9eQeyfV7j/wYhxpAvG1DhdoBc3kjC0XanN2NJXOxxdeuMik3kUObcfzj/152uya/zqTyZC00Vc8GuApZ7tEf+XjIQjAGK3RwIBMFERmu0GOU5l3bkqC2aWYzIL4Kor1F6WyLBcI4FHwK0A0gXbp4cCgYEAtRcMShJzJ9vh4uT6BnnR4742Vc9gdr0wInw2AlqQcZv1sIusotIWTUra9mCOEADQKfUw8ExvGU/csF3hp0Va49AIIQmYnoj71O7cK56DZ5ce6AU7NlLAerF3udLToznhJMEF3x1lo9p9ey1/AO8vSNgR2UswgktN++0jKQCF1LMCgYEAn/MzqYQ6YpIHhvMWvO/zAo4d1Qf1OE+KpRm3LSyLIyYhXke/99Isy4Izwb1HRx7ByG0x6dvlOgmReJJoVQbzEkSKQSdJkubq0V+j+SodyOGOSsrizQUjD/QtCC1AidQFL2CYtFM1Tku+1/58jVf2pmeJSQZFRBIKrHzjHIa6XgsCgYEAprGjn1+iXxN5uCl8uY9TlKeYTp8JNePqtiPOd5Y0FlAw9iVscaif3OBF9LtmqfaFp8nLFbfWIN+xzytsN1SRWNk7UmYJ9g00e4qwYvqUDTw/t+Zw3g2InqhUBFq8dCkoRXPk2r+tuwm5rjRwD0UdKpmyvGoJKjb1fyyHzAtuJh8CgYEAsk6IVa7hUggZGTUfwc17OM0K9P5bD/eawnJfXMsuJ9cTu4JFS9RNQ6L3NAQhmc9zYKFU3zxxRsFvBiaUxYn2QZokkTEEEPtBUV9Tbw2/N1a/ajCn5UD4HwjJ8lgepakfJLQ8OCcUjKTnc+oIFJxVEC12gN84XSvvw5X9mt4H9U0=";

    // 支付宝公钥,查看地址：https://openhome.alipay.com/platform/keyManage.htm 对应APPID下的支付宝公钥。
    public static String ALIPAY_PUBLIC_KEY ="MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEApt0Inv1nSHfQMrzFkpfYk+9pgGtr8Iplc6CeCncPZpndfYMc1XCJttZPQXaViPf1Ah19M8i6f/JtYyK6oFEIc+nh03x2J5Cy89UPewrZDbkl3u+LRLmEJ2sN4C1sDnz+2TDDfqLvXHdawmpz7lt2X2yMEJ066MCNTgQ6F40zt8SSbE4nAUis8YVT82DJiaxI5jehtBv84m88T4XWkh/w/59FgZWrOPvINTXaT4xutgaZ7T6x3Cjm/fYVeYFudOWSgOAASDYrT1t1lfxYvbDr0OQqLYG03YzojbXYk8AdOBRUNhdXTOoHhdAKDRc1xRoRSk01Qa7dfULX0tRxCHTvZQIDAQAB";
    // 服务器异步通知页面路径  需http://格式的完整路径，不能加?id=123这类自定义参数，必须外网可以正常访问
    public static String notify_url = "http://127.0.0.1:8888/ticket/notifyUrl";

    // 页面跳转同步通知页面路径 需http://格式的完整路径，不能加?id=123这类自定义参数，必须外网可以正常访问(其实就是支付成功后返回的页面)
   public static String return_url = "http://127.0.0.1:8888/ticket";
    // 签名方式
    public static String sign_type = "RSA2";

    // 字符编码格式
    public static String CHARSET = "UTF-8";

    // 支付宝网关，这是沙箱的网关
    public static String gatewayUrl = "https://openapi.alipaydev.com/gateway.do"; //测试

    // 支付宝网关
    public static String log_path = "";



}
